
import 'dart:async';
import 'dart:convert';
import 'dart:io';

import 'mod/version_data.dart';
import 'mod/version_info.dart';

main()  {
  var millisecond = DateTime.now().millisecondsSinceEpoch;
  print(millisecond);
}

class Type2 extends Type1{
  Type2(String name, String age) : super(name: name);

  Future<String> delayedRead()async{
    var s = await Future.delayed(Duration(seconds: 3),()=>"12");
    print(s);
    return s;
  }
}

extension TryParse on String{
 bool? tryBool(){
    var upperCase = toUpperCase();
    if(upperCase == "TRUE"){
      return true;
    }else{
      return null;
    }
  }
}

class Type1 {
 final String name;
 final String age;
 Type1({required this.name,this.age =''});

}



